<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="java.io.*,java.util.*"%>
<%@ page import="java.net.*"%>
<%@ page import="java.util.Date"%>
<%@ page import="org.apache.commons.io.*"%>
<%@ page import="org.apache.commons.lang3.*"%>
<%@ page import="java.nio.charset.Charset"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.text.*"%>

<%!
public static java.sql.Connection getConnection() throws Exception {
	Class.forName("com.mysql.jdbc.Driver");
	String url = "jdbc:mysql://localhost:3306/novel";
	String username = "root";
	String password = "person";
	java.sql.Connection con = java.sql.DriverManager.getConnection(url, username, password);
	return con;
}
%>